package com.azusa.ktc_base;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import utils.IdWorker;


@SpringBootApplication
public class KtcBaseApplication {

    public static void main(String[] args) {
        SpringApplication.run(KtcBaseApplication.class, args);
    }

    @Bean
    public IdWorker getIdWorker(){
        return new IdWorker();
    }

}
